//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
public class Main {
    public static void main(String[] args) {
        boolean b=true;//Boolen
        //System.out.println(b+1);
    }
    public static void main8(String[] args) {
        //字符类型 2个字节 Unicode字符集
        char ch1='a';
        char ch2='s';
        System.out.println(ch1);
        System.out.println(ch2);
        Character c='n';
        System.out.println(c);
    }
    public static void main7(String[] args) {
        float a=1.1f;
        System.out.println(a);
    }
    public static void main6(String[] args) {
       /* int a=1;
        int b=2;
        System.out.println(a/b);*/
        double a=1;
        double b=2;
        System.out.println(a/b);
        double c=1.1;
        System.out.println(c*c);
    }
    public static void main5(String[] args) {
        //byte 1个字节
        byte a=127;
        System.out.println(a);
        System.out.println(Byte.MIN_VALUE);
        System.out.println(Byte.MAX_VALUE);
    }
    public static void main4(String[] args) {
        /*
        long范围：-2^64~2^64-1
         */
        long a=10;
        System.out.println(a);
        System.out.println(Long.MAX_VALUE);
        System.out.println(Long.MIN_VALUE);
    }
    public static void main3(String[] args) {
        //short
        //范围：-2^16~2^16-1
        short a=10;
        System.out.println(a);
        System.out.println(Short.MAX_VALUE);
        System.out.println(Short.MIN_VALUE);
    }
    public static void main2(String[] args) {
        //int
        int a=10;
        int b;//定义变量
        b=20;//初始化
        System.out.println(a);
        System.out.println(b);
        //Integar是int的类，功能更加强大
        System.out.println(Integer.MIN_VALUE);
        System.out.println(Integer.MAX_VALUE);

    }
    public static void main1(String[] args) {
        System.out.println("hello world");
        System.out.println(100);
        System.out.println('a');
        System.out.println(true);
        System.out.println(false);
    }
}